Optimal. Leaf size=137 \[ \frac {\sqrt {2} b (a+b) C F_1\left (\frac {1}{2};\frac {1}{2},-1-m;\frac {3}{2};\frac {1}{2} (1-\sec (c+d x)),\frac {b (1-\sec (c+d x))}{a+b}\right ) (a+b \sec (c+d x))^m \left (\frac {a+b \sec (c+d x)}{a+b}\right )^{-m} \tan (c+d x)}{d \sqrt {1+\sec (c+d x)}}+(b B-a C) \text {Int}\left ((a+b \sec (c+d x))^{1+m},x\right ) \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.18, antiderivative size = 0, normalized size of antiderivative = 0.00, number of steps
used = 0, number of rules used = 0, integrand size = 0, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.000, Rules used = {}
\begin {gather*} \int (a+b \sec (c+d x))^m \left (a b B-a^2 C+b^2 B \sec (c+d x)+b^2 C \sec ^2(c+d x)\right ) \, dx \end {gather*}
Verification is not applicable to the result.
[In]
[Out]
Rubi steps
\begin {align*} \int (a+b \sec (c+d x))^m \left (a b B-a^2 C+b^2 B \sec (c+d x)+b^2 C \sec ^2(c+d x)\right ) \, dx &=\frac {\int (a+b \sec (c+d x))^{1+m} \left (b^2 (b B-a C)+b^3 C \sec (c+d x)\right ) \, dx}{b^2}\\ &=(b C) \int \sec (c+d x) (a+b \sec (c+d x))^{1+m} \, dx+(b B-a C) \int (a+b \sec (c+d x))^{1+m} \, dx\\ &=(b B-a C) \int (a+b \sec (c+d x))^{1+m} \, dx-\frac {(b C \tan (c+d x)) \text {Subst}\left (\int \frac {(a+b x)^{1+m}}{\sqrt {1-x} \sqrt {1+x}} \, dx,x,\sec (c+d x)\right )}{d \sqrt {1-\sec (c+d x)} \sqrt {1+\sec (c+d x)}}\\ &=(b B-a C) \int (a+b \sec (c+d x))^{1+m} \, dx+\frac {\left ((-a-b) b C (a+b \sec (c+d x))^m \left (-\frac {a+b \sec (c+d x)}{-a-b}\right )^{-m} \tan (c+d x)\right ) \text {Subst}\left (\int \frac {\left (-\frac {a}{-a-b}-\frac {b x}{-a-b}\right )^{1+m}}{\sqrt {1-x} \sqrt {1+x}} \, dx,x,\sec (c+d x)\right )}{d \sqrt {1-\sec (c+d x)} \sqrt {1+\sec (c+d x)}}\\ &=\frac {\sqrt {2} b (a+b) C F_1\left (\frac {1}{2};\frac {1}{2},-1-m;\frac {3}{2};\frac {1}{2} (1-\sec (c+d x)),\frac {b (1-\sec (c+d x))}{a+b}\right ) (a+b \sec (c+d x))^m \left (\frac {a+b \sec (c+d x)}{a+b}\right )^{-m} \tan (c+d x)}{d \sqrt {1+\sec (c+d x)}}+(b B-a C) \int (a+b \sec (c+d x))^{1+m} \, dx\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 9.87, size = 0, normalized size = 0.00 \begin {gather*} \int (a+b \sec (c+d x))^m \left (a b B-a^2 C+b^2 B \sec (c+d x)+b^2 C \sec ^2(c+d x)\right ) \, dx \end {gather*}
Verification is not applicable to the result.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.11, size = 0, normalized size = 0.00 \[\int \left (a +b \sec \left (d x +c \right )\right )^{m} \left (a b B -a^{2} C +b^{2} B \sec \left (d x +c \right )+b^{2} C \left (\sec ^{2}\left (d x +c \right )\right )\right )\, dx\]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} - \int C a^{2} \left (a + b \sec {\left (c + d x \right )}\right )^{m}\, dx - \int \left (- B a b \left (a + b \sec {\left (c + d x \right )}\right )^{m}\right )\, dx - \int \left (- B b^{2} \left (a + b \sec {\left (c + d x \right )}\right )^{m} \sec {\left (c + d x \right )}\right )\, dx - \int \left (- C b^{2} \left (a + b \sec {\left (c + d x \right )}\right )^{m} \sec ^{2}{\left (c + d x \right )}\right )\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [A]
time = 0.00, size = -1, normalized size = -0.01 \begin {gather*} \int {\left (a+\frac {b}{\cos \left (c+d\,x\right )}\right )}^m\,\left (\frac {B\,b^2}{\cos \left (c+d\,x\right )}-C\,a^2+\frac {C\,b^2}{{\cos \left (c+d\,x\right )}^2}+B\,a\,b\right ) \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________